package com.bl.student.service.vo.arena;

import com.bl.student.common.enums.ArenaType;
import com.bl.student.common.enums.OnlineStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.*;

/**
 * Created by liangweikang on 18/3/17.
 */
@Data
@ApiModel(value = "ArenaAddBody", description = "擂台增加body")
public class ArenaAddBody {


    @ApiModelProperty(value = "图片")
    private String image;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "简介")
    private String description;

    @ApiModelProperty(value = "权重")
    private int weight;

    @Enumerated(EnumType.STRING)
    @ApiModelProperty(value = "擂台状态")
    private OnlineStatus status;

    @ApiModelProperty(value = "创建者ID")
    @Column(name = "creator_id")
    private String creatorId;

    @ApiModelProperty(value = "详情ID")
    @Column(name = "detail_id")
    private String detailId;

    @Enumerated(EnumType.STRING)
    @ApiModelProperty(value = "擂台类型")
    private ArenaType type;
}
